package com.wwp.tbshop.presenter;


import com.wwp.tbshop.activity.orderlist.OrderDetailActivity;
import com.wwp.tbshop.model.bean.OrderListItemDetailBean;

/**
 * Created by user on 2017/6/15.
 */

public class OrderDetailOperation extends OrderListNetOperation {
    private static final String TAG = "OrderListOperation";
    private OrderDetailActivity mOrderDetailActivity;

    public OrderDetailOperation(OrderDetailActivity activity) {
        super(activity);
        mOrderDetailActivity = activity;
    }

    public void processDetailData(OrderListItemDetailBean orderListItemDetailBean){
        if(orderListItemDetailBean!=null){
            mOrderDetailActivity.showOrderDetail(orderListItemDetailBean);
        }
    }

}
